package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.UserCityServerCentreExtraAward;
import com.sc.nft.entity.dto.UserCityServerCentreExtraAwardPageListDTO;
import com.sc.nft.entity.vo.UserCityServerCentreExtraAwardPageListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserCityServerCentreExtraAwardMapper extends BaseMapper<UserCityServerCentreExtraAward> {
    UserCityServerCentreExtraAward getByUserIdAndSumGtZero(@Param("userId") Long userId);



    Page<UserCityServerCentreExtraAwardPageListVO> getPageList(Page page,@Param("userCityServerCentreExtraAwardPageListDTO") UserCityServerCentreExtraAwardPageListDTO userCityServerCentreExtraAwardPageListDTO);
}
